ArraySwap(array, position1, position2)


Returns a Boolean TRUE on successful completion.

array

Name of the array whose elements you want to swap.

position1

Position of the first element you want to swap.

position2

Position of the second element you want to swap.